package org.example.ruoxing_admin_springboot3.httpResponseResult;
import lombok.Getter;
@Getter
public enum ResponseResultEnum {
    SUCCESS(200,"操作成功"),
    ERROR(500,"系统错误"),
    WARN(210,"警告信息"),
    NO_AUTHORITY(403,"账号凭证失效,请重新登陆!");
    private final int code;
    private final String msg;
    ResponseResultEnum(int code,String msg){
        this.code = code;
        this.msg = msg;
    }
}
